<template>
  <div class="shop-list">
    <shopcart-list-item v-for="item in cartlist" :listitem="item"></shopcart-list-item>
  </div>
</template>

<script>
  import ShopcartListItem from './ShopcartListItem'
  export default {
    name: "shopcart-list",
    components:{
      ShopcartListItem
    },
    computed:{
      cartlist(){
        return this.$store.state.cartlist
      }
    }
  }
</script>

<style scoped>

</style>
